<div class="page-middle page-middle-padding">
    <h2 class="menu_select" style="text-align:center"><?php echo __('Please enter username and password'); ?></h2>        
    <div class="users form users_login">
        <?php 
        if ($this->Session->read('Auth.User')) 
        { 
            echo  __('You have been login.');
        
        } else {
          
         ?>
    <?php echo $this->Session->flash('auth'); ?>
    <?php echo $this->Form->create('User');?>        
        <?php
            echo $this->Form->input('username');
            echo $this->Form->input('password');
            
            echo '<div class="input">'  . $this->Form->checkbox('remember_me') . __d('users', 'Remember Me') .'</div>';
            echo '<div class="input">' . $this->Html->link(__d('users', 'I forgot my password'), array('action' => 'reset_password')) . '</div>';

	    echo $this->Form->hidden('User.return_to', array(
				'value' => $return_to));
        ?>        
        
    <?php 
        echo $this->Form->end(__('Login'),array('class' => 'test'));
        } //end else if
    ?>
    </div>
</div>
